module.exports = async ({getNamedAccounts, deployments}) => {
    const {firstAccount} = await getNamedAccounts()
    const {deploy, log} = deployments;

    log("Deploying MyToken contract");
    await deploy("MyToken", {
        contract: "MyToken",
        from: firstAccount,
        args: ["MyToken", "MT"],
        log: true
    })
    log("MyToken contract deployed successfully");
}

module.exports.tags = ["sourcechain", "all"];